package com.xoa.service.document;

import com.xoa.model.document.DocumentExchangeOutUnit;
import com.xoa.util.ToJson;

import java.util.Map;

public interface DocumentExchangeOutUnitService {
    //新建
    public ToJson insert(DocumentExchangeOutUnit documentExchangeOutUnit);
    //更新
    public ToJson update(DocumentExchangeOutUnit documentExchangeOutUnit);
    //查询
    public ToJson<DocumentExchangeOutUnit> query(Map map);
    //删除
    public ToJson delete(Integer ouId);

    public DocumentExchangeOutUnit selectById(Integer ouId);
}
